enum WithdrawTarget {
  BANK_CARD = "bank_card", // 银行卡
  WECHAT_CHANGE_PURSE = "wechat_change_purse", // 微信零钱
}

export const isWithdrawTarget = (val: any): val is WithdrawTarget => {
  return [WithdrawTarget.BANK_CARD, WithdrawTarget.WECHAT_CHANGE_PURSE].includes(val)
}

export default WithdrawTarget;
